﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dbPoll_Application.ViewModels.PollReportViewModel>" %>
<%@ Import Namespace="dbPoll_Application.Helpers"%>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	DemographicReportTextualPlain
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <link rel="stylesheet" type="text/css" href="../../Content/Plain.css" />
<script type="text/javascript" src="../../Scripts/Report.js"></script>
    <div class="pageHeadingContainer"><h2 class="pageHeading">Poll Reports</h2></div>
         <p><%= Html.ActionLink("Polls > ", "Index", "Poll", null, new { @class = "breadcrumb" })%><%= Model.name %></p>
        <div id="pageMenuContainer">
            <span id="launchScreen"><%= Html.ActionLink("Go back to reports", "Reports", new { pollID = Model.pollID })%></span>
            <ul id="pageMenu">
                <li><%= Html.ActionLink("Details", "Questions", new { pollID = Model.pollID }) %></li>
                <li><%= Html.ActionLink("Run", "SetSession", new { pollID = Model.pollID }) %></li>
                <li><%= Html.ActionLink("Test", "Test", new { pollID = Model.pollID }) %></li>
                <li>Reports</li>
                <li><%= Html.ActionLink("Manage Hierarchy", "EntityHierarchy", new { pollID = Model.pollID })%></li>
            </ul>
        </div>
        <iframe id="iFramePdf" src="<%=Model.uri %>" width="100%" height="650" frameborder="0" marginwidth="0" scrolling="auto"></iframe></div>  
</asp:Content>
